<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="renderer" content="webkit">
  <title>页面</title>
  <link href="<@toParam code="PATH"/>/hplus/css/bootstrap.min.css" rel="stylesheet">
  <link href="<@toParam code="PATH"/>/hplus/css/font-awesome.min.css" rel="stylesheet">
  <link href="<@toParam code="PATH"/>/hplus/css/style.min.css" rel="stylesheet">
  <link href="<@toParam code="PATH"/>/hplus/css/hsys.extend.css" rel="stylesheet">
</head>

<body>
	<div style="padding:10px">
		<form method="post" class="form-horizontal required-validate" action="saveUser" novalidate="novalidate" onsubmit="return validateCallback(this,dialogAjaxDone)">
			<input type="hidden" name="portalUser.id" value="${portalUser.id!}"/>
			<div class="form-group">
	    	<label class="col-xs-3 control-label">用户名：</label>
	      <div class="col-xs-8">
	      	<input type="text" class="form-control required" name="portalUser.username" value="${portalUser.username!}"/>
	      </div>
	    </div>
			<div class="form-group">
	    	<label class="col-xs-3 control-label">密码：</label>
	      <div class="col-xs-8">
	      	<input type="password" class="form-control<#if portalUser.id??><#else> required</#if>" name="portalUser.password" autocomplete="off"/>
	      	<#if portalUser.id??><span class="help-block m-b-none"><i class="fa fa-info-circle"></i>&nbsp;如不修改则留空</span></#if>
	      </div>
	    </div>
	    
			<div class="form-group">
	    	<label class="col-xs-3 control-label">全名：</label>
	      <div class="col-xs-8">
	      	<input type="text" class="form-control required" name="portalUser.fullname" value="${portalUser.fullname!}"/>
	      </div>
	    </div>
			<div class="form-group">
	    	<label class="col-xs-3 control-label">Email：</label>
	      <div class="col-xs-8">
	      	<input type="text" class="form-control" name="portalUser.email" value="${portalUser.email!}"/>
	      </div>
	    </div>
			<div class="form-group">
	    	<label class="col-xs-3 control-label">手机号：</label>
	      <div class="col-xs-8">
	      	<input type="text" class="form-control" name="portalUser.phone" value="${portalUser.phone!}"/>
	      </div>
  		</div>
			<div class="form-group">
	    	<label class="col-xs-3 control-label">状态：</label>
	      <div class="col-xs-8">
	      	<label style="line-height: 35px;font-weight: normal;">
	      		<input type="radio" value="T" name="portalUser.enable_flag" <#if portalUser.enable_flag??><#if portalUser.enable_flag='T'>checked="checked"</#if><#else>checked="checked"</#if>/>&nbsp;&nbsp;可用
	      	</label>&nbsp;&nbsp;
	      	<label style="line-height: 35px;font-weight: normal;">
	      		<input type="radio" value="F" name="portalUser.enable_flag" <#if portalUser.enable_flag??><#if portalUser.enable_flag='F'>checked="checked"</#if></#if>/>&nbsp;&nbsp;禁用
	      	</label>
	      </div>
	    </div>
	    <div class="form-group">
	    	<div class="col-xs-8 col-xs-offset-3">
	      	<button type="submit" class="btn btn-primary">保存</button>
	      </div>
	    </div>
		</form>
	</div>
  <script src="<@toParam code="PATH"/>/hplus/js/jquery.min.js"></script>
  <script src="<@toParam code="PATH"/>/hplus/js/bootstrap.min.js"></script>
  <script src="<@toParam code="PATH"/>/hplus/js/plugins/validate/jquery.validate.min.js"></script>
  <script src="<@toParam code="PATH"/>/hplus/js/plugins/validate/messages_zh.min.js"></script>
  <script src="<@toParam code="PATH"/>/hplus/js/plugins/layer/layer.min.js"></script>
  <script src="<@toParam code="PATH"/>/hplus/js/gcore_ext.js"></script>
</body>
</html>
